Platform Explorer / Nuxeo Platform 2021.52

Contribution org.nuxeo.template.service.defaultContrib--contextExtension2

This contribution is part of XML component org.nuxeo.template.service.defaultContrib inside nuxeo-template-rendering-core-2021.52.8.jar /OSGI-INF/templateprocessor-contrib.xml

Documentation

Adds Repository features in the context

  • core.getParent()
  • core.getChildren()

Extension Point

Extension point contextExtension of component TemplateProcessorComponent.

Registration Order

2
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <contextFactory class="org.nuxeo.template.context.extensions.CoreExtensionFactory" name="core">
        </contextFactory>

XML Source

<extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds Repository features in the context
      <ul>
        <li>core.getParent()</li>
        <li>core.getChildren()</li>
      </ul>
    </documentation>

    <contextFactory class="org.nuxeo.template.context.extensions.CoreExtensionFactory" name="core">
    </contextFactory>

  </extension>